﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web.sysMan
{
    public partial class Top : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["login"] != null)
                {
                    Maticsoft.Model.userInfo s = Session["login"] as Maticsoft.Model.userInfo;
                    this.lbl_welcome.Text = "欢迎您：" + s.user_name + "<br/>";
                }
                else
                {
                    this.lbl_welcome.Text = "";
                }
            }

        }
    }
}